package cn.cque.service;

import cn.cque.entity.User;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: XWC
 * @InterfaceName: UserService
 * @Date: 2020/10/4
 * @Time: 18:11
 * @Description:
 */
public interface UserService {
    User login(String username, String password);
    int register(User user);
    List<User> findAll();
}
